package member

import (
	"github.com/gin-gonic/gin"
	v1 "tdy-backend/app/member/controller/v1"
)

type ApiMemberRouter struct{}

func (o *ApiMemberRouter) MemberRouter(Router *gin.RouterGroup) {
	api := v1.MemberController{}
	r := Router.Group("V1")
	{
		r.POST("/Member/Register", api.Register)
		r.POST("/Member/Login", api.Login)
		r.GET("/Member/GetCurrentMemberInfo", api.GetCurrentMemberInfo)
		r.POST("/Member/UpdatePassword", api.UpdatePassword)
		r.GET("/Member/Test", api.Test)
		r.GET("/Member/Test2", api.Test2)
	}

}
